from django.db import models
from apps.common.base.models import BaseModel

class TabbarItem(BaseModel):

    name = models.CharField("名称", max_length=200, blank=True, null=True, default='')
    key = models.CharField("标识", max_length=200, blank=True, null=True, default='')
    path = models.CharField("路径", max_length=200, blank=True, null=True, default='')
    activeIcon = models.CharField("激活图标", max_length=200, blank=True, default='')
    inactiveIcon = models.CharField("默认图标", max_length=200, blank=True, default='')
    activeColor = models.CharField("激活颜色", max_length=200, blank=True, default='')
    inactiveColor = models.CharField("默认颜色", max_length=200, blank=True, default='')
    isShow = models.BooleanField("是否显示", default=True)

    class Meta:
        verbose_name = 'TabbarItem'
        verbose_name_plural = verbose_name
